package com.wpen.unit.cvt.job;

import java.util.List;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.JobExec1LogPo;
import com.wpen.unit.infra.mybatis.job.po.JobExec1RedologPo;
import com.wpen.unit.web.dto.job.JobExec1LogDetailRequest;
import com.wpen.unit.web.dto.job.JobExec1LogDetailResponse;
import com.wpen.unit.web.dto.job.JobExec1LogListRequest;
import com.wpen.unit.web.dto.job.JobExec1LogListResponse;
import com.wpen.unit.web.dto.job.JobExec1LogListRowsResponse;
import com.wpen.unit.web.dto.job.JobExec1RedologListRequest;
import com.wpen.unit.web.dto.job.JobExec1RedologListResponse;
import com.wpen.unit.web.dto.job.JobExec1RedologListRowsResponse;
import com.wpen.unit.web.dto.job.TaskExecLogListRowJobsResponse;

/**
 * 任务作业执行1日志转换类
 * 
 * @author Wang Peng
 * @date 2022-12-06
 *
 */
@Mapper
public interface JobExec1LogCvt {
	JobExec1LogCvt INSTANCE = Mappers.getMapper(JobExec1LogCvt.class);

	JobExec1LogPo queryListDto2Do(JobExec1LogListRequest jobExec1LogListRequest);

	JobExec1LogListResponse queryListDo2Dto(JobExec1LogPo jobExec1LogPo);

	JobExec1LogListRowsResponse queryListRowDo2Dto(JobExec1LogPo jobExec1LogPo);

	List<JobExec1LogListRowsResponse> queryListRowsDo2Dto(List<JobExec1LogPo> jobExec1LogPos);

	TaskExecLogListRowJobsResponse queryListForTaskDo2Dto(JobExec1LogPo jobExec1LogPos);

	JobExec1RedologPo queryListDto2Do(JobExec1RedologListRequest jobExec1RedologListRequest);

	JobExec1RedologListResponse queryListDo2Dto(JobExec1RedologPo jobExec1RedologPo);

	JobExec1RedologListRowsResponse queryListRowDo2Dto(JobExec1RedologPo jobExec1RedologPo);

	JobExec1RedologPo jobLog2RedoLog(JobExec1LogPo jobExec1LogPo);

	JobExec1LogPo detailDto2Do(JobExec1LogDetailRequest jobExec1LogDetailRequest);

	JobExec1LogDetailResponse detailDo2Dto(JobExec1LogPo jobExec1LogPo);

	JobExec1LogPo jobRedoLog2Log(JobExec1RedologPo jobExec1RedologPo);

}
